#ifndef __MYQT_H
#define __MYQT_H

#include <QApplication>
#include <QDialog>
#include <QPushButton>
#include <QLabel>
#include <QVBoxLayout>
#include <QHBoxLayout>

class myQt:public QDialog
{
	Q_OBJECT
public:
	myQt();
private:
	QPushButton *btn;
	QLabel *label;
signals:
	void mySignal(int num);  //connect   label->setNum(int)
private slots:
	void mySlot();   // connect btn->clicked()
};

#endif
